package com.qf.day03.loop;

public class Demo11 {
    public static void main(String[] args) {
        System.out.println("窗前明月光");
//        System.out.println("--------");
        Demo11.printDelimiter();//方法调用 方法名 后面加小括号
        System.out.println("疑是地上霜");
        Demo11.printDelimiter();
        System.out.println("举头望明月");
        Demo11.printDelimiter();
        System.out.println("低头思故乡");
        Demo11.printDelimiter();
    }

    public static void printDelimiter() {
        System.out.println("--------");
    }
}
